package cn.jsony.pet.service;

import cn.jsony.basic.util.AjaxResult;
import cn.jsony.basic.util.PageList;
import cn.jsony.pet.domain.SearchMasterMsg;
import cn.jsony.basic.service.IBaseService;
import cn.jsony.pet.query.SearchMasterMsgQuery;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-07-27
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg msg, HttpServletRequest request);

    PageList<SearchMasterMsg> userQuery(SearchMasterMsgQuery query, HttpServletRequest requestequest);



    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery query,HttpServletRequest request);

    void reject(Long id);

    void accept(Map<String, Object> params);
}
